package com.xyht.sca_s.student_manage_system.modules.appDynamic.entity.resp;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 应用文件控件配置表
 * </p>
 *
 * @author XYHT
 * @since 2023-07-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("app_file_control_config")
@ApiModel(value="AppFileControlConfig对象", description="应用文件控件配置表")
public class AppFileControlConfigResp implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "控件唯一id(前端生成)")
    private String controlUniqueId;

    @ApiModelProperty(value = "类型")
    private String subType;

    @ApiModelProperty(value = "控件标题")
    private String name;

    @ApiModelProperty(value = "是否必填：0.非必填 1.必填")
    private Boolean required;

    @ApiModelProperty(value = "上传数量限制")
    private Integer maxCountLimit;

    @ApiModelProperty(value = "上传文件类型限制")
    private List<String> fileType;

    @ApiModelProperty(value = "文件大小限制")
    private String fileSize;
}
